#define _CRT_SECURE_NO_WARNINGS 1
#include"Heap.h"

int main()
{
	//int a[] = { 50,100,70,65,60,32 };
	int a[] = { 60,70,65,50,32,100 };

	HP hp;
	HPInit(&hp);
	for (int i = 0; i < sizeof(a) / sizeof(int); i++)
	{
		HPPush(&hp, a[i]);
	}
	printf("%d\n", HPTop(&hp));

	//while (!HPEmpty(&hp))
	//{
	//	printf("%d\n", HPTop(&hp));
	//	HPPop(&hp);
	//}

	HPDestroy(&hp);

	return 0;
}